#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	int a, b, c, d = 0;
	scanf("%d %d %d", &a, &b, &c);
	if (c > b)
	{
		d = c;
		c = b;
		b = d;
	}
	if (c > a)
	{
		d = c;
		c = a;
		a = d;
	}
	if (b > a)
	{
		d = b;
		b = a;
		a = d;
	}
	printf("%d %d %d", a, b, c);
	return 0;
}